package com.tzsp.MD5;

import org.springframework.util.DigestUtils;

public class md5 {
    public static void main(String[] args) {
        String password="123456";
        password=DigestUtils.md5DigestAsHex(password.getBytes());
        System.out.println(password);
    }
}
